package com.songlanyun.modules.freighttemplate.model.dto;

import com.songlanyun.common.drive.ValueObject;
import lombok.Data;

@Data
public class FreightTemplateDTO implements ValueObject {
    private Integer id;
    /**
     * 店铺id
     */
    private Long shopId;
    /**
     * 模板名称
     */
    private String name;
    /**
     * 是否免邮
     */
    private Boolean freePost;

    /**
     * 是否是默认模板
     */
    private Boolean general;
    /**
     * 运费计算方式(0件，1重,2体积)
     */
    private Integer freightComputeMode;

    /**
     * 默认的规则
     */
    private FreightTemplateRuleDTO defaultRule;

}
